import Vue from 'vue'
import App from './App.vue'
import { store } from './store'
import { router } from './router'

import axios from 'axios'
// import element-ui
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
axios.defaults.baseURL = 'http://localhost:8080'
Vue.prototype.$ajax = axios
Vue.use(ElementUI)

new Vue({
  router,
  store,
  render: (h) => h(App)
}).$mount('#app')
